package com.gome.ocean.service.gddl;

import java.util.List;

import com.github.pagehelper.Page;
import com.gome.ocean.dao.model.gddl.AppRuleBO;

public interface AppRuleService {

    public boolean insertAppRuleBO(AppRuleBO appRuleBO);

    public boolean removeAppRuleBOById(Long id);

    public boolean updateAppRuleBOById(AppRuleBO appRuleBO);

    public AppRuleBO findAppRuleBOById(Long id);

    public List<AppRuleBO> findAllAppRuleBO();

    public AppRuleBO findAppRuleBOByAppIdAndExpression(Long appTableId,String expression);

    public Page<AppRuleBO> findAppRuleByAppId(Long appTableId, Integer pageNum, Integer pageSize);

    public List<AppRuleBO> findAppRuleListByAppId(Long appTableId);
}
